OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fc9893
)
remove special case for h.264 whatever this was supposed to do its not correct
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 16 Mar 2007 22:31:57 +0000
(22:31 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 16 Mar 2007 22:31:57 +0000
(22:31 +0000)
Originally committed as revision 8423 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/utils.c
patch
|
blob
|
history
diff --git
a/libavformat/utils.c
b/libavformat/utils.c
index
e05d02d
..
dd3ca3e
100644
(file)
--- 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 */