diff options
author | Samuel Pitoiset <samuel.pitoiset@gmail.com> | 2012-08-26 17:35:08 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-08-28 18:16:00 +0300 |
commit | 6af2480aa62e96fbfa4f2f99b80280ce77dafafd (patch) | |
tree | 915d78fbefa8146d9f48e6629570d4785de51efc | |
parent | 6f5b1a2ba4cc568b3b8ae11b7dfd4a70fb891680 (diff) | |
download | ffmpeg-streaming-6af2480aa62e96fbfa4f2f99b80280ce77dafafd.zip ffmpeg-streaming-6af2480aa62e96fbfa4f2f99b80280ce77dafafd.tar.gz |
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@martin.st>
-rw-r--r-- | libavformat/rtpdec_h264.c | 1 |
1 files changed, 0 insertions, 1 deletions
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)) { |