mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
Reindent.
Originally committed as revision 25921 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e74929e8bb
commit
0141163d6a
@ -814,8 +814,8 @@ int avpicture_alloc(AVPicture *picture,
|
|||||||
enum PixelFormat pix_fmt, int width, int height)
|
enum PixelFormat pix_fmt, int width, int height)
|
||||||
{
|
{
|
||||||
if (av_image_alloc(picture->data, picture->linesize, width, height, pix_fmt, 0) < 0) {
|
if (av_image_alloc(picture->data, picture->linesize, width, height, pix_fmt, 0) < 0) {
|
||||||
memset(picture, 0, sizeof(AVPicture));
|
memset(picture, 0, sizeof(AVPicture));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user