summaryrefslogtreecommitdiff
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-03-16 22:31:57 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-03-16 22:31:57 +0000
commit741887cf3e36e4f7733058505a160a2d5f9eea0e (patch)
treef552772eee063bd67ca8a319e2697aec46e62b4e /libavformat/utils.c
parent7fc98937d2b0afab9e3935717a00f505fb119bd0 (diff)
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
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index e05d02de7d..dd3ca3e533 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 */