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
42a8d8ae
Commit
42a8d8ae
authored
Oct 14, 2013
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/rpl: use avpriv_report_missing_feature/avpriv_request_sample
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
0f99aad8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
rpl.c
libavformat/rpl.c
+4
-8
No files found.
libavformat/rpl.c
View file @
42a8d8ae
...
...
@@ -168,9 +168,8 @@ static int rpl_read_header(AVFormatContext *s)
vst
->
codec
->
codec_id
=
AV_CODEC_ID_ESCAPE130
;
break
;
default:
av_log
(
s
,
AV_LOG_WARNING
,
"RPL video format %i not supported yet!
\n
"
,
vst
->
codec
->
codec_tag
);
avpriv_report_missing_feature
(
s
,
"Video format %i"
,
vst
->
codec
->
codec_tag
);
vst
->
codec
->
codec_id
=
AV_CODEC_ID_NONE
;
}
...
...
@@ -220,11 +219,8 @@ static int rpl_read_header(AVFormatContext *s)
}
break
;
}
if
(
ast
->
codec
->
codec_id
==
AV_CODEC_ID_NONE
)
{
av_log
(
s
,
AV_LOG_WARNING
,
"RPL audio format %i not supported yet!
\n
"
,
audio_format
);
}
if
(
ast
->
codec
->
codec_id
==
AV_CODEC_ID_NONE
)
avpriv_request_sample
(
s
,
"Audio format %i"
,
audio_format
);
avpriv_set_pts_info
(
ast
,
32
,
1
,
ast
->
codec
->
bit_rate
);
}
else
{
for
(
i
=
0
;
i
<
3
;
i
++
)
...
...
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