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
7835c24e
Commit
7835c24e
authored
Aug 02, 2014
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dv: Update DV-profile-related functions to current public API
parent
ffa4d4ef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dvdec.c
libavcodec/dvdec.c
+1
-1
dvenc.c
libavcodec/dvenc.c
+1
-1
No files found.
libavcodec/dvdec.c
View file @
7835c24e
...
...
@@ -343,7 +343,7 @@ static int dvvideo_decode_frame(AVCodecContext *avctx,
int
apt
,
is16_9
,
ret
;
const
AVDVProfile
*
sys
;
sys
=
av
priv
_dv_frame_profile
(
s
->
sys
,
buf
,
buf_size
);
sys
=
av_dv_frame_profile
(
s
->
sys
,
buf
,
buf_size
);
if
(
!
sys
||
buf_size
<
sys
->
frame_size
)
{
av_log
(
avctx
,
AV_LOG_ERROR
,
"could not find dv frame profile
\n
"
);
return
-
1
;
/* NOTE: we only accept several full frames */
...
...
libavcodec/dvenc.c
View file @
7835c24e
...
...
@@ -45,7 +45,7 @@ static av_cold int dvvideo_encode_init(AVCodecContext *avctx)
PixblockDSPContext
pdsp
;
int
ret
;
s
->
sys
=
av
priv_dv_codec_profile
(
avctx
);
s
->
sys
=
av
_dv_codec_profile
(
avctx
->
width
,
avctx
->
height
,
avctx
->
pix_fmt
);
if
(
!
s
->
sys
)
{
av_log
(
avctx
,
AV_LOG_ERROR
,
"Found no DV profile for %ix%i %s video. "
"Valid DV profiles are:
\n
"
,
...
...
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