Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
da7baaaa
Commit
da7baaaa
authored
Jan 29, 2013
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aasc: fix output for msrle compression.
The bottom line was invalid before. CC:libav-stable@libav.org
parent
9bd6375d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
25 deletions
+25
-25
cmdutils.c
cmdutils.c
+1
-1
aasc.c
libavcodec/aasc.c
+1
-1
aasc
tests/ref/fate/aasc
+23
-23
No files found.
cmdutils.c
View file @
da7baaaa
...
...
@@ -1566,7 +1566,7 @@ static int alloc_buffer(FrameBuffer **pool, AVCodecContext *s, FrameBuffer **pbu
/* XXX this shouldn't be needed, but some tests break without this line
* those decoders are buggy and need to be fixed.
* the following tests fail:
*
aasc,
fraps-v1, qtrle-1bit
* fraps-v1, qtrle-1bit
*/
memset
(
buf
->
base
[
0
],
128
,
ret
);
...
...
libavcodec/aasc.c
View file @
da7baaaa
...
...
@@ -77,7 +77,7 @@ static int aasc_decode_frame(AVCodecContext *avctx,
}
break
;
case
1
:
bytestream2_init
(
&
s
->
gb
,
buf
-
4
,
buf_size
+
4
);
bytestream2_init
(
&
s
->
gb
,
buf
,
buf_size
);
ff_msrle_decode
(
avctx
,
(
AVPicture
*
)
&
s
->
frame
,
8
,
&
s
->
gb
);
break
;
default:
...
...
tests/ref/fate/aasc
View file @
da7baaaa
#tb 0: 1/25
0, 0, 0, 1, 168000, 0x
45addf8f
0, 1, 1, 1, 168000, 0x
45addf8f
0, 2, 2, 1, 168000, 0x
45addf8f
0, 3, 3, 1, 168000, 0x
45addf8f
0, 4, 4, 1, 168000, 0x
45addf8f
0, 5, 5, 1, 168000, 0x
45addf8f
0, 6, 6, 1, 168000, 0x
45addf8f
0, 7, 7, 1, 168000, 0x
45addf8f
0, 8, 8, 1, 168000, 0x
45addf8f
0, 9, 9, 1, 168000, 0x
45addf8f
0, 10, 10, 1, 168000, 0x
45addf8f
0, 11, 11, 1, 168000, 0x
45addf8f
0, 12, 12, 1, 168000, 0x
8730699b
0, 13, 13, 1, 168000, 0x
08b095df
0, 14, 14, 1, 168000, 0x
203526e3
0, 15, 15, 1, 168000, 0x
0ebc5142
0, 16, 16, 1, 168000, 0xd
168e7c2
0, 17, 17, 1, 168000, 0x
cc7da0e6
0, 18, 18, 1, 168000, 0x
72ac60b8
0, 19, 19, 1, 168000, 0x
b691e27c
0, 20, 20, 1, 168000, 0x
646fa087
0, 21, 21, 1, 168000, 0x
404450a2
0, 22, 22, 1, 168000, 0x
5214c456
0, 0, 0, 1, 168000, 0x
00000000
0, 1, 1, 1, 168000, 0x
00000000
0, 2, 2, 1, 168000, 0x
00000000
0, 3, 3, 1, 168000, 0x
00000000
0, 4, 4, 1, 168000, 0x
00000000
0, 5, 5, 1, 168000, 0x
00000000
0, 6, 6, 1, 168000, 0x
00000000
0, 7, 7, 1, 168000, 0x
00000000
0, 8, 8, 1, 168000, 0x
00000000
0, 9, 9, 1, 168000, 0x
00000000
0, 10, 10, 1, 168000, 0x
00000000
0, 11, 11, 1, 168000, 0x
00000000
0, 12, 12, 1, 168000, 0x
a6298d46
0, 13, 13, 1, 168000, 0x
5d89d96c
0, 14, 14, 1, 168000, 0x
16d994da
0, 15, 15, 1, 168000, 0x
a8c6079b
0, 16, 16, 1, 168000, 0xd
d1decac
0, 17, 17, 1, 168000, 0x
6a96003c
0, 18, 18, 1, 168000, 0x
ef7f1ff4
0, 19, 19, 1, 168000, 0x
90dc0126
0, 20, 20, 1, 168000, 0x
7a2b1006
0, 21, 21, 1, 168000, 0x
c7ca1345
0, 22, 22, 1, 168000, 0x
8841c413
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment