Mercurial > libavformat.hg
changeset 1921:3d0b99c7edcc libavformat
remove special case for h.264 whatever this was supposed to do its not correct
author | michael |
---|---|
date | Fri, 16 Mar 2007 22:31:57 +0000 |
parents | 8e7acf0111fe |
children | 59d394f558b8 |
files | utils.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/utils.c Thu Mar 15 23:08:58 2007 +0000 +++ b/utils.c Fri Mar 16 22:31:57 2007 +0000 @@ -602,8 +602,7 @@ 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 */