[FFmpeg-cvslog] r12146 - trunk/libavformat/avc.c
reimar
subversion
Tue Feb 19 17:18:17 CET 2008
Author: reimar
Date: Tue Feb 19 17:18:17 2008
New Revision: 12146
Log:
Fix misplaced const, avoids a cast-discards-qualifiers warning
Modified:
trunk/libavformat/avc.c
Modified: trunk/libavformat/avc.c
==============================================================================
--- trunk/libavformat/avc.c (original)
+++ trunk/libavformat/avc.c Tue Feb 19 17:18:17 2008
@@ -31,7 +31,7 @@ const uint8_t *ff_avc_find_startcode(con
}
for( end -= 3; p < end; p += 4 ) {
- const uint32_t x = *(uint32_t*)p;
+ uint32_t x = *(const uint32_t*)p;
// if( (x - 0x01000100) & (~x) & 0x80008000 ) // little endian
// if( (x - 0x00010001) & (~x) & 0x00800080 ) // big endian
if( (x - 0x01010101) & (~x) & 0x80808080 ) { // generic
More information about the ffmpeg-cvslog
mailing list