Mercurial > libavformat.hg
diff utils.c @ 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 | 174083eafc6c |
| children | 59d394f558b8 |
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 */
