projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f5b1a2
)
rtpdec_h264: Don't set the pixel format
author
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Sun, 26 Aug 2012 15:35:08 +0000
(17:35 +0200)
committer
Martin Storsjö
<martin@martin.st>
Tue, 28 Aug 2012 15:16:00 +0000
(18:16 +0300)
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>
libavformat/rtpdec_h264.c
patch
|
blob
|
history
diff --git
a/libavformat/rtpdec_h264.c
b/libavformat/rtpdec_h264.c
index d1483d497b72fe76bf6e8063b9e4f83871afc8e7..7408b431017a38b258bba781863ad5fa064daaca 100644
(file)
--- 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)) {