Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
ffmpeg
Commits
4afbcf46
Commit
4afbcf46
authored
Sep 07, 2010
by
Stefano Sabatini
Browse files
Reindent.
Originally committed as revision 25068 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
34017fd9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
ffplay.c
ffplay.c
+2
-2
libavcodec/imgconvert.c
libavcodec/imgconvert.c
+1
-1
libavfilter/vsrc_buffer.c
libavfilter/vsrc_buffer.c
+2
-2
No files found.
ffplay.c
View file @
4afbcf46
...
...
@@ -1736,8 +1736,8 @@ static int input_request_frame(AVFilterLink *link)
}
else
{
picref
=
avfilter_get_video_buffer
(
link
,
AV_PERM_WRITE
,
link
->
w
,
link
->
h
);
av_image_copy
(
picref
->
data
,
picref
->
linesize
,
priv
->
frame
->
data
,
priv
->
frame
->
linesize
,
picref
->
format
,
link
->
w
,
link
->
h
);
priv
->
frame
->
data
,
priv
->
frame
->
linesize
,
picref
->
format
,
link
->
w
,
link
->
h
);
}
av_free_packet
(
&
pkt
);
...
...
libavcodec/imgconvert.c
View file @
4afbcf46
...
...
@@ -807,7 +807,7 @@ void av_picture_copy(AVPicture *dst, const AVPicture *src,
enum
PixelFormat
pix_fmt
,
int
width
,
int
height
)
{
av_image_copy
(
dst
->
data
,
dst
->
linesize
,
src
->
data
,
src
->
linesize
,
pix_fmt
,
width
,
height
);
src
->
linesize
,
pix_fmt
,
width
,
height
);
}
/* 2x2 -> 1x1 */
...
...
libavfilter/vsrc_buffer.c
View file @
4afbcf46
...
...
@@ -120,8 +120,8 @@ static int request_frame(AVFilterLink *link)
link
->
w
,
link
->
h
);
av_image_copy
(
picref
->
data
,
picref
->
linesize
,
c
->
frame
.
data
,
c
->
frame
.
linesize
,
picref
->
format
,
link
->
w
,
link
->
h
);
c
->
frame
.
data
,
c
->
frame
.
linesize
,
picref
->
format
,
link
->
w
,
link
->
h
);
picref
->
pts
=
c
->
pts
;
picref
->
video
->
pixel_aspect
=
c
->
pixel_aspect
;
...
...
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