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.
This commit is contained in:
wm4
2015-06-21 16:56:35 +02:00
parent 991af7dfb1
commit 2b64eee8d5
9 changed files with 16 additions and 18 deletions

View File

@@ -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;