summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-06-21 16:56:35 +0200
committerwm4 <wm4@nowhere>2015-06-21 16:56:35 +0200
commit2b64eee8d5ed4ab781dcbf98654f028a6d7cef11 (patch)
tree64f498f7f15ddf5bd83e7e7b4dca6c1a38cb3cbe /audio
parent991af7dfb10c514a10d84f5a3e2698e646eb53d4 (diff)
downloadmpv-2b64eee8d5ed4ab781dcbf98654f028a6d7cef11.tar.bz2
mpv-2b64eee8d5ed4ab781dcbf98654f028a6d7cef11.tar.xz
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.
Diffstat (limited to 'audio')
-rw-r--r--audio/decode/ad_lavc.c2
1 files changed, 1 insertions, 1 deletions
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;