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
54c596fe
Commit
54c596fe
authored
Dec 11, 2013
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/movenc: improve feedback in case of unsupported codec
parent
688c3d94
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
movenc.c
libavformat/movenc.c
+3
-2
No files found.
libavformat/movenc.c
View file @
54c596fe
...
@@ -3837,8 +3837,9 @@ static int mov_write_header(AVFormatContext *s)
...
@@ -3837,8 +3837,9 @@ static int mov_write_header(AVFormatContext *s)
track
->
mode
=
mov
->
mode
;
track
->
mode
=
mov
->
mode
;
track
->
tag
=
mov_find_codec_tag
(
s
,
track
);
track
->
tag
=
mov_find_codec_tag
(
s
,
track
);
if
(
!
track
->
tag
)
{
if
(
!
track
->
tag
)
{
av_log
(
s
,
AV_LOG_ERROR
,
"track %d: could not find tag, "
av_log
(
s
,
AV_LOG_ERROR
,
"Could not find tag for codec %s in stream #%d, "
"codec not currently supported in container
\n
"
,
i
);
"codec not currently supported in container
\n
"
,
avcodec_get_name
(
st
->
codec
->
codec_id
),
i
);
goto
error
;
goto
error
;
}
}
/* If hinting of this track is enabled by a later hint track,
/* If hinting of this track is enabled by a later hint track,
...
...
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