Skip to content

Commit

Permalink
ff_ffplay: merge:1bd9fb6de59bb96144ece914643d2d205818168d
Browse files Browse the repository at this point in the history
	ffplay: Fix usage of private lavfi API
	Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
  • Loading branch information
xinzhengzhang committed Nov 4, 2016
1 parent b91633d commit ffb00ad
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 @@ -2271,7 +2271,7 @@ static int stream_component_open(FFPlayer *ffp, int stream_index)
SDL_UnlockMutex(ffp->af_mutex);
link = is->out_audio_filter->inputs[0];
sample_rate = link->sample_rate;
nb_channels = link->channels;
nb_channels = avfilter_link_get_channels(link);
channel_layout = link->channel_layout;
}
#else
Expand Down

0 comments on commit ffb00ad

Please sign in to comment.