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
3d973e46
Commit
3d973e46
authored
Nov 19, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
interplayvideo: remove a static variable.
parent
089b3d68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
interplayvideo.c
libavcodec/interplayvideo.c
+1
-5
No files found.
libavcodec/interplayvideo.c
View file @
3d973e46
...
@@ -882,12 +882,8 @@ static void ipvideo_decode_opcodes(IpvideoContext *s)
...
@@ -882,12 +882,8 @@ static void ipvideo_decode_opcodes(IpvideoContext *s)
int
x
,
y
;
int
x
,
y
;
unsigned
char
opcode
;
unsigned
char
opcode
;
int
ret
;
int
ret
;
static
int
frame
=
0
;
GetBitContext
gb
;
GetBitContext
gb
;
av_dlog
(
NULL
,
"------------------ frame %d
\n
"
,
frame
);
frame
++
;
bytestream2_skip
(
&
s
->
stream_ptr
,
14
);
/* data starts 14 bytes in */
bytestream2_skip
(
&
s
->
stream_ptr
,
14
);
/* data starts 14 bytes in */
if
(
!
s
->
is_16bpp
)
{
if
(
!
s
->
is_16bpp
)
{
/* this is PAL8, so make the palette available */
/* this is PAL8, so make the palette available */
...
@@ -923,7 +919,7 @@ static void ipvideo_decode_opcodes(IpvideoContext *s)
...
@@ -923,7 +919,7 @@ static void ipvideo_decode_opcodes(IpvideoContext *s)
}
}
if
(
ret
!=
0
)
{
if
(
ret
!=
0
)
{
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
" Interplay video: decode problem on frame %d, @ block (%d, %d)
\n
"
,
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
" Interplay video: decode problem on frame %d, @ block (%d, %d)
\n
"
,
frame
,
x
,
y
);
s
->
avctx
->
frame_number
,
x
,
y
);
return
;
return
;
}
}
}
}
...
...
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