summaryrefslogtreecommitdiffstats
path: root/demux/demux_disc.c
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 /demux/demux_disc.c
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 'demux/demux_disc.c')
-rw-r--r--demux/demux_disc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/demux_disc.c b/demux/demux_disc.c
index 3cbd01a9b8..6a9220189c 100644
--- a/demux/demux_disc.c
+++ b/demux/demux_disc.c
@@ -141,7 +141,7 @@ static void add_streams(demuxer_t *demuxer)
MP_TARRAY_APPEND(p, p->streams, p->num_streams, sh);
// Copy all stream fields that might be relevant
sh->codec = talloc_strdup(sh, src->codec);
- sh->format = src->format;
+ sh->codec_tag = src->codec_tag;
sh->lav_headers = src->lav_headers;
sh->demuxer_id = src->demuxer_id;
if (src->video) {