From e6a9dd6a7deaeae24d770f85062ea3eddf9ebcf4 Mon Sep 17 00:00:00 2001
From: Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Date: Sun, 10 Jan 2010 08:57:20 +0000
Subject: [PATCH] Use enum CodecID where appropriate.

Originally committed as revision 21119 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavformat/electronicarts.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c
index 323f3a83c2d..df9aded9d3f 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;
         }
-- 
GitLab