diff libmpcodecs/vd_ffmpeg.c @ 21251:5f6002214861

Fix incorrect use of be2me_32 on a pointer, use BE_32 instead.
author reimar
date Sun, 26 Nov 2006 13:26:21 +0000
parents 3ee64ff583a9
children 1767c271d710
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c	Sun Nov 26 13:19:32 2006 +0000
+++ b/libmpcodecs/vd_ffmpeg.c	Sun Nov 26 13:26:21 2006 +0000
@@ -369,7 +369,7 @@
 	    avctx->extradata = av_mallocz(avctx->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE);
 	    memcpy(avctx->extradata, sh->bih+1, avctx->extradata_size);
 	}
-	avctx->sub_id= be2me_32(avctx->extradata+4);
+	avctx->sub_id= BE_32(avctx->extradata+4);
 
 //        printf("%X %X %d %d\n", extrahdr[0], extrahdr[1]);
         break;