Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
fa245e43
Commit
fa245e43
authored
Apr 29, 2013
by
Nicolas George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/matroskaenc: return an error for unsupported types.
parent
d608a27d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
matroskaenc.c
libavformat/matroskaenc.c
+1
-1
No files found.
libavformat/matroskaenc.c
View file @
fa245e43
...
@@ -705,7 +705,7 @@ static int mkv_write_tracks(AVFormatContext *s)
...
@@ -705,7 +705,7 @@ static int mkv_write_tracks(AVFormatContext *s)
break
;
break
;
default:
default:
av_log
(
s
,
AV_LOG_ERROR
,
"Only audio, video, and subtitles are supported for Matroska.
\n
"
);
av_log
(
s
,
AV_LOG_ERROR
,
"Only audio, video, and subtitles are supported for Matroska.
\n
"
);
break
;
return
AVERROR
(
EINVAL
)
;
}
}
ret
=
mkv_write_codecprivate
(
s
,
pb
,
codec
,
native_id
,
qt_id
);
ret
=
mkv_write_codecprivate
(
s
,
pb
,
codec
,
native_id
,
qt_id
);
if
(
ret
<
0
)
return
ret
;
if
(
ret
<
0
)
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