changeset 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 7b1ab00ef2eb
children 09a213e6cf0a
files libmpcodecs/vd_ffmpeg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;