[SCM] libav/experimental: remove special case for h.264 whatever this was supposed to do its not correct
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 15:57:55 UTC 2013
The following commit has been merged in the experimental branch:
commit 741887cf3e36e4f7733058505a160a2d5f9eea0e
Author: Michael Niedermayer <michaelni at gmx.at>
Date: Fri Mar 16 22:31:57 2007 +0000
remove special case for h.264 whatever this was supposed to do its not correct
Originally committed as revision 8423 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavformat/utils.c b/libavformat/utils.c
index e05d02d..dd3ca3e 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -602,8 +602,7 @@ static void compute_pkt_fields(AVFormatContext *s, AVStream *st,
if (st->codec->codec_type == CODEC_TYPE_VIDEO) {
/* XXX: need has_b_frame, but cannot get it if the codec is
not initialized */
- if (( st->codec->codec_id == CODEC_ID_H264
- || st->codec->has_b_frames) &&
+ if (st->codec->has_b_frames &&
pc && pc->pict_type != FF_B_TYPE)
presentation_delayed = 1;
/* this may be redundant, but it shouldnt hurt */
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list