summaryrefslogtreecommitdiff
path: root/libavcodec/h261dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-10-15 13:38:10 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-10-15 15:49:31 +0200
commit17085a0251a1493f6447aa3d2ee06fda2c9402f0 (patch)
treed627e3d5bdcf01ed711249c30247c74dd7087367 /libavcodec/h261dec.c
parent51c810e62b63a1451b337b1cba0141b386066668 (diff)
parent7ea1b3472a61de4aa4d41b571e99418e4997ad41 (diff)
Merge commit '7ea1b3472a61de4aa4d41b571e99418e4997ad41'
* commit '7ea1b3472a61de4aa4d41b571e99418e4997ad41': lavc: deprecate the use of AVCodecContext.time_base for decoding Conflicts: libavcodec/avcodec.h libavcodec/h264.c libavcodec/mpegvideo_parser.c libavcodec/utils.c libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h261dec.c')
-rw-r--r--libavcodec/h261dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h261dec.c b/libavcodec/h261dec.c
index ead81fce81..9064f1a012 100644
--- a/libavcodec/h261dec.c
+++ b/libavcodec/h261dec.c
@@ -492,7 +492,7 @@ static int h261_decode_picture_header(H261Context *h)
i += 32;
s->picture_number = (s->picture_number & ~31) + i;
- s->avctx->time_base = (AVRational) { 1001, 30000 };
+ s->avctx->framerate = (AVRational) { 30000, 1001 };
/* PTYPE starts here */
skip_bits1(&s->gb); /* split screen off */