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
e20f4648
Commit
e20f4648
authored
May 11, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpeg12: print an error when there was a frame in extradata.
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
6d376346
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
mpeg12.c
libavcodec/mpeg12.c
+4
-1
No files found.
libavcodec/mpeg12.c
View file @
e20f4648
...
...
@@ -2288,7 +2288,10 @@ static int mpeg_decode_frame(AVCodecContext *avctx,
if
(
avctx
->
extradata
&&
!
avctx
->
frame_number
)
{
int
ret
=
decode_chunks
(
avctx
,
picture
,
data_size
,
avctx
->
extradata
,
avctx
->
extradata_size
);
*
data_size
=
0
;
if
(
*
data_size
)
{
av_log
(
avctx
,
AV_LOG_ERROR
,
"picture in extradata
\n
"
);
*
data_size
=
0
;
}
if
(
ret
<
0
&&
(
avctx
->
err_recognition
&
AV_EF_EXPLODE
))
return
ret
;
}
...
...
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