changeset 2719:6469205c08e4 libavformat

Change ff_rm_read_mdpr_codecdata to get back to old behavior.
author benoit
date Thu, 08 Nov 2007 09:14:09 +0000
parents 1bbb4fa1cdcd
children 0c8ec988645c
files rmdec.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/rmdec.c	Wed Nov 07 23:56:00 2007 +0000
+++ b/rmdec.c	Thu Nov 08 09:14:09 2007 +0000
@@ -193,7 +193,7 @@
 {
     ByteIOContext *pb = &s->pb;
     unsigned int v;
-    int codec_data_size, size, res = -1;
+    int codec_data_size, size;
     int64_t codec_pos;
 
     codec_data_size = get_be32(pb);
@@ -247,13 +247,12 @@
         }
     }
 
-    res = 0;
 skip:
     /* skip codec info */
     size = url_ftell(pb) - codec_pos;
     url_fskip(pb, codec_data_size - size);
 
-    return res;
+    return 0;
 }