Skip to content

Commit

Permalink
ff_ffplay: use av_format_get_opaque to obtain opaque
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuvesy committed Jan 16, 2015
1 parent 08da419 commit 9fb095e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ijkmedia/ijkplayer/ff_ffplay.c
Original file line number Diff line number Diff line change
Expand Up @@ -3403,7 +3403,7 @@ static int ffp_format_control_message(struct AVFormatContext *s, int type,
if (s == NULL)
return -1;

FFPlayer *ffp = (FFPlayer *)s->opaque;
FFPlayer *ffp = (FFPlayer *)av_format_get_opaque(s);
if (ffp == NULL)
return -1;

Expand Down

0 comments on commit 9fb095e

Please sign in to comment.