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:
5cca6bc
)
Off-by-one error fix
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Wed, 24 Jan 2007 17:49:26 +0000
(17:49 +0000)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Wed, 24 Jan 2007 17:49:26 +0000
(17:49 +0000)
Originally committed as revision 7694 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/vc1.c
patch
|
blob
|
history
diff --git
a/libavcodec/vc1.c
b/libavcodec/vc1.c
index
ceb534e
..
10f5d22
100644
(file)
--- a/
libavcodec/vc1.c
+++ b/
libavcodec/vc1.c
@@
-1283,8
+1283,8
@@
static int decode_sequence_header_adv(VC1Context *v, GetBitContext *gb)
if(get_bits1(gb)) { //Display Info - decoding is not affected by it
int w, h, ar = 0;
av_log(v->s.avctx, AV_LOG_INFO, "Display extended info:\n");
- w = get_bits(gb, 14);
- h = get_bits(gb, 14);
+ w = get_bits(gb, 14)
+ 1
;
+ h = get_bits(gb, 14)
+ 1
;
av_log(v->s.avctx, AV_LOG_INFO, "Display dimensions: %ix%i\n", w, h);
//TODO: store aspect ratio in AVCodecContext
if(get_bits1(gb))