aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2012-01-17 16:58:16 -0800
committerAlex Converse <alex.converse@gmail.com>2012-01-18 10:54:25 -0800
commitd7420e0ac9efb487f23b16bdca8fe148288a3576 (patch)
tree60b408f6db7be0eeb5ef9acbf4ea192a2bf17b2b /libavformat/mov.c
parentac84f2edd443a3f56ff1cb3ee681b05e0782dc3a (diff)
downloadffmpeg-d7420e0ac9efb487f23b16bdca8fe148288a3576.tar.gz
mov: Remove dead stores for spherical coordinates for channel position.
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index f12a8b4093..c6022d5d3a 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -585,12 +585,11 @@ static int mov_read_chan(MOVContext *c, AVIOContext *pb, MOVAtom atom)
label_mask = 0;
for (i = 0; i < num_descr; i++) {
uint32_t label, cflags;
- float coords[3];
label = avio_rb32(pb); // mChannelLabel
cflags = avio_rb32(pb); // mChannelFlags
- AV_WN32(&coords[0], avio_rl32(pb)); // mCoordinates[0]
- AV_WN32(&coords[1], avio_rl32(pb)); // mCoordinates[1]
- AV_WN32(&coords[2], avio_rl32(pb)); // mCoordinates[2]
+ avio_rl32(pb); // mCoordinates[0]
+ avio_rl32(pb); // mCoordinates[1]
+ avio_rl32(pb); // mCoordinates[2]
if (layout_tag == 0) {
uint32_t mask_incr = ff_mov_get_channel_label(label);
if (mask_incr == 0) {