[FFmpeg-cvslog] rtpdec_h264: Don't set the pixel format
Samuel Pitoiset
git at videolan.org
Wed Aug 29 18:09:24 CEST 2012
ffmpeg | branch: master | Samuel Pitoiset <samuel.pitoiset at gmail.com> | Sun Aug 26 17:35:08 2012 +0200| [6af2480aa62e96fbfa4f2f99b80280ce77dafafd] | committer: Martin Storsjö
rtpdec_h264: Don't set the pixel format
There is no need for this depacketizer to set the pixel format,
the decoder can do that just fine.
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6af2480aa62e96fbfa4f2f99b80280ce77dafafd
---
libavformat/rtpdec_h264.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavformat/rtpdec_h264.c b/libavformat/rtpdec_h264.c
index d1483d4..7408b43 100644
--- a/libavformat/rtpdec_h264.c
+++ b/libavformat/rtpdec_h264.c
@@ -369,7 +369,6 @@ static int parse_h264_sdp_line(AVFormatContext *s, int st_index,
// set our parameters
codec->width = atoi(buf1);
codec->height = atoi(p + 1); // skip the -
- codec->pix_fmt = PIX_FMT_YUV420P;
} else if (av_strstart(p, "fmtp:", &p)) {
return ff_parse_fmtp(stream, h264_data, p, sdp_parse_fmtp_config_h264);
} else if (av_strstart(p, "cliprect:", &p)) {
More information about the ffmpeg-cvslog
mailing list