# HG changeset patch # User reimar # Date 1278802168 0 # Node ID 3da109629fca752b591f3f3ed97b77729e04478c # Parent 29f48c6e30564a2afb414b839cd7b278674cc29d Remove completely nonsensical le2me usages, the only effect they had was breaking playback on big-endian. diff -r 29f48c6e3056 -r 3da109629fca libmpdemux/demux_pva.c --- a/libmpdemux/demux_pva.c Sat Jul 10 22:33:49 2010 +0000 +++ b/libmpdemux/demux_pva.c Sat Jul 10 22:49:28 2010 +0000 @@ -360,7 +360,7 @@ } flags=stream_read_char(d->stream); payload->is_packet_start=flags & 0x10; - pack_size=le2me_16(stream_read_word(d->stream)); + pack_size=stream_read_word(d->stream); mp_msg(MSGT_DEMUX,MSGL_DBG2,"demux_pva::pva_get_payload(): pack_size=%u field read at offset %"PRIu64"\n",pack_size,(int64_t)stream_tell(d->stream)-2); pva_payload_start=stream_tell(d->stream); next_offset=pva_payload_start+pack_size; @@ -400,7 +400,7 @@ switch(payload->type) { case VIDEOSTREAM: - payload->pts=(float)(le2me_32(stream_read_dword(d->stream)))/90000; + payload->pts=(float)(stream_read_dword(d->stream))/90000; //printf("Video PTS: %f\n",payload->pts); if((flags&0x03) #ifdef PVA_NEW_PREBYTES_CODE @@ -466,7 +466,7 @@ /* * PTS parsing is hopefully finished. */ - payload->pts=(float)le2me_64(temp_pts)/90000; + payload->pts=(float)temp_pts/90000; } } payload->offset=stream_tell(d->stream);