[SCM] libav/experimental: Use enum CodecID where appropriate.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:57:14 UTC 2013


The following commit has been merged in the experimental branch:
commit e6a9dd6a7deaeae24d770f85062ea3eddf9ebcf4
Author: Carl Eugen Hoyos <cehoyos at rainbow.studorg.tuwien.ac.at>
Date:   Sun Jan 10 08:57:20 2010 +0000

    Use enum CodecID where appropriate.
    
    Originally committed as revision 21119 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c
index 323f3a8..df9aded 100644
--- a/libavformat/electronicarts.c
+++ b/libavformat/electronicarts.c
@@ -192,7 +192,7 @@ static int process_audio_header_elements(AVFormatContext *s)
         case 16: ea->audio_codec = CODEC_ID_MP3; break;
         case -1: break;
         default:
-            ea->audio_codec = 0;
+            ea->audio_codec = CODEC_ID_NONE;
             av_log(s, AV_LOG_ERROR, "unsupported stream type; revision2=%i\n", revision2);
             return 0;
         }

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list