]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/xwma.c
avrndec: add DR1 capability flag
[ffmpeg] / libavformat / xwma.c
index bd3af35b728f8a63e40883e35d87537784463c19..04c36296d1ca01de436b2102ee81bedee4094179 100644 (file)
@@ -42,7 +42,7 @@ static int xwma_probe(AVProbeData *p)
 
 static int xwma_read_header(AVFormatContext *s)
 {
-    int64_t size, av_uninit(data_size);
+    int64_t size;
     int ret;
     uint32_t dpds_table_size = 0;
     uint32_t *dpds_table = 0;
@@ -84,7 +84,7 @@ static int xwma_read_header(AVFormatContext *s)
      * extradata for that. Thus, ask the user for feedback, but try to go on
      * anyway.
      */
-    if (st->codec->codec_id != CODEC_ID_WMAV2) {
+    if (st->codec->codec_id != AV_CODEC_ID_WMAV2) {
         av_log(s, AV_LOG_WARNING, "unexpected codec (tag 0x04%x; id %d)\n",
                               st->codec->codec_tag, st->codec->codec_id);
         av_log_ask_for_sample(s, NULL);