mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-05 21:55:37 +01:00
replacing the use of deprecated unaligned*() routines by LD64 and AV_RB32
Originally committed as revision 9834 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -124,7 +124,7 @@ const uint8_t *ff_find_start_code(const uint8_t * restrict p, const uint8_t *end
|
||||
}
|
||||
|
||||
p= FFMIN(p, end)-4;
|
||||
*state= be2me_32(unaligned32(p));
|
||||
*state= AV_RB32(p);
|
||||
|
||||
return p+4;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user