From 2b64eee8d5ed4ab781dcbf98654f028a6d7cef11 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 21 Jun 2015 16:56:35 +0200 Subject: demux: rename sh_stream.format to sh_stream.codec_tag Why not. "format" sounds too misleading for the actual importance and meaning of this field. --- audio/decode/ad_lavc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio') diff --git a/audio/decode/ad_lavc.c b/audio/decode/ad_lavc.c index 5a2392e05a..71824fbfc6 100644 --- a/audio/decode/ad_lavc.c +++ b/audio/decode/ad_lavc.c @@ -116,7 +116,7 @@ static int init(struct dec_audio *da, const char *decoder) mp_set_avopts(da->log, lavc_context, opts->avopts); - lavc_context->codec_tag = sh->format; + lavc_context->codec_tag = sh->codec_tag; lavc_context->sample_rate = sh_audio->samplerate; lavc_context->bit_rate = sh_audio->bitrate; lavc_context->block_align = sh_audio->block_align; -- cgit v1.2.3