mlpdec: set AV_FRAME_DATA_MATRIXENCODING side data.
authorTim Walker <tdskywalker@gmail.com>
Wed, 11 Dec 2013 02:03:33 +0000 (02:03 +0000)
committerTim Walker <tdskywalker@gmail.com>
Sun, 5 Jan 2014 15:41:56 +0000 (16:41 +0100)
libavcodec/mlpdec.c

index 615abf3..76ce4c4 100644 (file)
@@ -1061,6 +1061,10 @@ static int output_data(MLPDecodeContext *m, unsigned int substr,
         }
     }
 
+    /* Update matrix encoding side data */
+    if ((ret = ff_side_data_update_matrix_encoding(frame, s->matrix_encoding)) < 0)
+        return ret;
+
     *got_frame_ptr = 1;
 
     return 0;