diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-05-04 15:47:54 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-04 15:49:58 +0200 |
commit | 5d309d309108684f742bbf5fc2393f1c519cda72 (patch) | |
tree | f857597124f8e0df78fa88abf7286cfb80ad1552 /libavformat/matroskadec.c | |
parent | e54540655f229d06667dc7fa7005f2a20e101e80 (diff) | |
download | ffmpeg-5d309d309108684f742bbf5fc2393f1c519cda72.tar.gz |
avformat/matroskadec: Use tracks[k]->stream instead of s->streams[k]
The later is not correct
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/matroskadec.c')
-rw-r--r-- | libavformat/matroskadec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 31723b3b86..3caee3abf7 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -2012,8 +2012,8 @@ static int matroska_parse_tracks(AVFormatContext *s) snprintf(buf, sizeof(buf), "%s_%d", ff_matroska_video_stereo_plane[planes[j].type], i); for (k=0; k < matroska->tracks.nb_elem; k++) - if (planes[j].uid == tracks[k].uid && s->streams[k]) { - av_dict_set(&s->streams[k]->metadata, + if (planes[j].uid == tracks[k].uid && tracks[k].stream) { + av_dict_set(&tracks[k].stream->metadata, "stereo_mode", buf, 0); break; } |