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
2111e3f9
Commit
2111e3f9
authored
Jul 06, 2006
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
check for unparsed AMR input
Originally committed as revision 5637 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
9a39cd35
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
movenc.c
libavformat/movenc.c
+4
-0
No files found.
libavformat/movenc.c
View file @
2111e3f9
...
...
@@ -1532,6 +1532,10 @@ static int mov_write_packet(AVFormatContext *s, AVPacket *pkt)
len
+=
packed_size
[(
pkt
->
data
[
len
]
>>
3
)
&
0x0F
];
samplesInChunk
++
;
}
if
(
samplesInChunk
>
1
){
av_log
(
s
,
AV_LOG_ERROR
,
"fatal error, input is not a single packet, inplement a AVParser for it
\n
"
);
return
-
1
;
}
}
else
if
(
trk
->
sampleSize
)
samplesInChunk
=
size
/
trk
->
sampleSize
;
else
...
...
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