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
f0a10657
Commit
f0a10657
authored
Oct 14, 2015
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
roqvideodec: Replace avpicture functions with imgutils
Signed-off-by:
Vittorio Giovara
<
vittorio.giovara@gmail.com
>
parent
ef3a3519
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
roqvideodec.c
libavcodec/roqvideodec.c
+5
-2
No files found.
libavcodec/roqvideodec.c
View file @
f0a10657
...
@@ -29,6 +29,8 @@
...
@@ -29,6 +29,8 @@
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "avcodec.h"
#include "bytestream.h"
#include "bytestream.h"
#include "internal.h"
#include "internal.h"
...
@@ -199,7 +201,8 @@ static int roq_decode_frame(AVCodecContext *avctx,
...
@@ -199,7 +201,8 @@ static int roq_decode_frame(AVCodecContext *avctx,
}
}
if
(
copy
)
if
(
copy
)
av_picture_copy
((
AVPicture
*
)
s
->
current_frame
,
(
AVPicture
*
)
s
->
last_frame
,
av_image_copy
(
s
->
current_frame
->
data
,
s
->
current_frame
->
linesize
,
s
->
last_frame
->
data
,
s
->
last_frame
->
linesize
,
avctx
->
pix_fmt
,
avctx
->
width
,
avctx
->
height
);
avctx
->
pix_fmt
,
avctx
->
width
,
avctx
->
height
);
bytestream2_init
(
&
s
->
gb
,
buf
,
buf_size
);
bytestream2_init
(
&
s
->
gb
,
buf
,
buf_size
);
...
...
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