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:
03c03af
)
Fix SVQ3 regression since ticks_per_frame=2.
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 27 Feb 2009 14:01:32 +0000
(14:01 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 27 Feb 2009 14:01:32 +0000
(14:01 +0000)
Originally committed as revision 17640 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264.c
b/libavcodec/h264.c
index
24dc201
..
707cde1
100644
(file)
--- a/
libavcodec/h264.c
+++ b/
libavcodec/h264.c
@@
-2201,7
+2201,8
@@
static av_cold int decode_init(AVCodecContext *avctx){
h->sei_dpb_output_delay = 0;
h->sei_cpb_removal_delay = -1;
h->sei_buffering_period_present = 0;
- avctx->ticks_per_frame = 2;
+ if(avctx->codec_id == CODEC_ID_H264)
+ avctx->ticks_per_frame = 2;
return 0;
}