Skip to content

Commit

Permalink
Replace deprecated avcodec_alloc_frame().
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@37193 b3059339-0415-0410-9bf9-f77b7e298cf2
  • Loading branch information
ib committed May 8, 2014
1 parent 158f43c commit 9bc909f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/util/bitmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ static int pngRead(const char *fname, guiImage *img)
}

avctx = avcodec_alloc_context3(NULL);
frame = avcodec_alloc_frame();
frame = av_frame_alloc();

if (!(avctx && frame)) {
av_free(frame);
Expand Down

0 comments on commit 9bc909f

Please sign in to comment.