mirror of https://github.com/mpv-player/mpv
Fix incorrect use of be2me_32 on a pointer, use BE_32 instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21267 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
329ba64c0a
commit
690fb7a8e1
|
@ -369,7 +369,7 @@ static int init(sh_video_t *sh){
|
||||||
avctx->extradata = av_mallocz(avctx->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE);
|
avctx->extradata = av_mallocz(avctx->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE);
|
||||||
memcpy(avctx->extradata, sh->bih+1, avctx->extradata_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]);
|
// printf("%X %X %d %d\n", extrahdr[0], extrahdr[1]);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue