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
da8c9b32
Commit
da8c9b32
authored
Jun 25, 2013
by
Luca Barbato
Committed by
Paul B Mahol
Jun 25, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lxfdec: remove wrong and unneeded check
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
4b6cf1ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
lxfdec.c
libavformat/lxfdec.c
+0
-8
No files found.
libavformat/lxfdec.c
View file @
da8c9b32
...
...
@@ -29,7 +29,6 @@
#define LXF_IDENT "LEITCH\0"
#define LXF_IDENT_LENGTH 8
#define LXF_SAMPLERATE 48000
#define LXF_MAX_AUDIO_PACKET (8008*15*4) ///< 15-channel 32-bit NTSC audio frame
static
const
AVCodecTag
lxf_tags
[]
=
{
{
AV_CODEC_ID_MJPEG
,
0
},
...
...
@@ -309,13 +308,6 @@ static int lxf_read_packet(AVFormatContext *s, AVPacket *pkt)
return
AVERROR_INVALIDDATA
;
}
//make sure the data fits in the de-planerization buffer
if
(
ast
&&
ret
>
LXF_MAX_AUDIO_PACKET
)
{
av_log
(
s
,
AV_LOG_ERROR
,
"audio packet too large (%i > %i)
\n
"
,
ret
,
LXF_MAX_AUDIO_PACKET
);
return
AVERROR_INVALIDDATA
;
}
if
((
ret2
=
av_new_packet
(
pkt
,
ret
))
<
0
)
return
ret2
;
...
...
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