Mercurial > mplayer.hg
changeset 31623:4d4ed6c9039c
Fix some remaining bswap-related compilation issues.
author | reimar |
---|---|
date | Sat, 10 Jul 2010 23:31:50 +0000 |
parents | 1e252399fd6b |
children | 40c30c70ead0 |
files | libmpcodecs/vd_realvid.c libmpdemux/muxer_mpeg.c |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd_realvid.c Sat Jul 10 23:30:39 2010 +0000 +++ b/libmpcodecs/vd_realvid.c Sat Jul 10 23:31:50 2010 +0000 @@ -394,7 +394,7 @@ } for (i=0; i<2*(chunks+1); i++) - extra[i] = le2ne_32(extra[i]); + extra[i] = av_le2ne32(extra[i]); #ifdef CONFIG_WIN32DLL if (dll_type == 1)
--- a/libmpdemux/muxer_mpeg.c Sat Jul 10 23:30:39 2010 +0000 +++ b/libmpdemux/muxer_mpeg.c Sat Jul 10 23:31:50 2010 +0000 @@ -422,7 +422,7 @@ spriv->last_pts += conf_init_vdelay * 90 * 300; } spriv->id = 0xe0 + muxer->num_videos; - s->ckid = be2ne_32 (0x100 + spriv->id); + s->ckid = av_be2ne32(0x100 + spriv->id); if(priv->is_genmpeg1 || priv->is_genmpeg2) { int v = (conf_vbuf_size ? conf_vbuf_size*1024 : (s->h.dwSuggestedBufferSize ? s->h.dwSuggestedBufferSize : 46*1024)); @@ -459,7 +459,7 @@ spriv->last_pts += conf_init_adelay * 90 * 300; spriv->pts = spriv->last_pts; spriv->id = 0xc0 + muxer->num_audios; - s->ckid = be2ne_32 (0x100 + spriv->id); + s->ckid = av_be2ne32(0x100 + spriv->id); if(priv->is_genmpeg1 || priv->is_genmpeg2) { int a1 = (conf_abuf_size ? conf_abuf_size*1024 : (s->h.dwSuggestedBufferSize ? s->h.dwSuggestedBufferSize : 4*1024)); @@ -2241,7 +2241,7 @@ spriv->max_buffer_size = 4*1024; if(stream->wf->wFormatTag == AUDIO_A52) { - stream->ckid = be2ne_32 (0x1bd); + stream->ckid = av_be2ne32(0x1bd); if(priv->is_genmpeg1 || priv->is_genmpeg2) fix_audio_sys_header(priv, spriv->id, 0xbd, FFMAX(conf_abuf_size, 58)*1024); //only one audio at the moment spriv->id = 0xbd;