[SCM] libav/experimental: Fix the M bit for multi-packet NALs. Patch by Yao Peter (peter AT yuvad DOT com)
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:46:00 UTC 2013
The following commit has been merged in the experimental branch:
commit eb853afb8a2813a27defbecbedf31ce0ce94e678
Author: Yao Peter <peter at yuvad.com>
Date: Sat May 16 17:11:47 2009 +0000
Fix the M bit for multi-packet NALs.
Patch by Yao Peter (peter AT yuvad DOT com)
Originally committed as revision 18858 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavformat/rtpenc_h264.c b/libavformat/rtpenc_h264.c
index 26bd4a9..2ba0771 100644
--- a/libavformat/rtpenc_h264.c
+++ b/libavformat/rtpenc_h264.c
@@ -56,7 +56,7 @@ static void nal_send(AVFormatContext *s1, const uint8_t *buf, int size, int last
}
s->buf[1] |= 1 << 6;
memcpy(&s->buf[2], buf, size);
- ff_rtp_send_data(s1, s->buf, size + 2, 1);
+ ff_rtp_send_data(s1, s->buf, size + 2, last);
}
}
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list