aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegvideo.c
diff options
context:
space:
mode:
authorRoman Shaposhnik <roman@shaposhnik.org>2007-07-30 18:05:46 +0000
committerRoman Shaposhnik <roman@shaposhnik.org>2007-07-30 18:05:46 +0000
commitf49f6e88895bef1fd2cc0226b9007f2b2932d6cc (patch)
tree9d72e3591ca173ce0a9c1fe400cdc0e3e1a4642a /libavcodec/mpegvideo.c
parent6654296c309a60ce803b7e1c70edfd3ea09ee8c0 (diff)
downloadffmpeg-f49f6e88895bef1fd2cc0226b9007f2b2932d6cc.tar.gz
replacing the use of deprecated unaligned*() routines by LD64 and AV_RB32
Originally committed as revision 9834 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r--libavcodec/mpegvideo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 8152288258..736680852e 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -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;
}