summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/gpac/gpac-0.4.2-ffmpeg-errno.patch
blob: ec59cec5e881bd1656717218cf3e86b2a7700b3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Index: gpac/modules/ffmpeg_in/ffmpeg_demux.c
===================================================================
--- gpac.orig/modules/ffmpeg_in/ffmpeg_demux.c
+++ gpac/modules/ffmpeg_in/ffmpeg_demux.c
@@ -23,6 +23,7 @@
  */
 
 #include "ffmpeg_in.h"
+#include <errno.h>
 
 /*default buffer is 200 ms per channel*/
 #define FFD_DATA_BUFFER		800
@@ -285,7 +286,6 @@ static GF_ESD *FFD_GetESDescriptor(FFDem
 		case CODEC_ID_MP3:
 			esd->decoderConfig->objectTypeIndication = 0x69;
 			break;
-		case CODEC_ID_MPEG4AAC:
 		case CODEC_ID_AAC:
 			if (!dec->extradata_size) goto opaque_audio;
 			esd->decoderConfig->objectTypeIndication = 0x40;