[FFmpeg-cvslog] r16908 - trunk/libavcodec/shorten.c
mru
subversion
Sat Jan 31 23:30:49 CET 2009
Author: mru
Date: Sat Jan 31 23:30:49 2009
New Revision: 16908
Log:
shorten: trivial simplification of signature check
Modified:
trunk/libavcodec/shorten.c
Modified: trunk/libavcodec/shorten.c
==============================================================================
--- trunk/libavcodec/shorten.c Sat Jan 31 23:16:17 2009 (r16907)
+++ trunk/libavcodec/shorten.c Sat Jan 31 23:30:49 2009 (r16908)
@@ -305,7 +305,7 @@ static int shorten_decode_frame(AVCodecC
{
int maxnlpc = 0;
/* shorten signature */
- if (get_bits_long(&s->gb, 32) != bswap_32(AV_RL32("ajkg"))) {
+ if (get_bits_long(&s->gb, 32) != AV_RB32("ajkg")) {
av_log(s->avctx, AV_LOG_ERROR, "missing shorten magic 'ajkg'\n");
return -1;
}
More information about the ffmpeg-cvslog
mailing list