aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-03-25 05:30:13 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-03-29 01:47:11 +0100
commitd3b940b0ff21fd9c734a050541f6958089f1a24b (patch)
treeb615fe13d5c713bab57fa881e53bb22ff3dc77cc
parent13f06df4e116fecd679797b168bf4f5b83cf6fdb (diff)
downloadffmpeg-d3b940b0ff21fd9c734a050541f6958089f1a24b.tar.gz
avcodec/rv10: Make logmessage endian-independent
Also fix a potential effective-type violation. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavcodec/rv10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c
index 4df545aec0..482af8e52a 100644
--- a/libavcodec/rv10.c
+++ b/libavcodec/rv10.c
@@ -394,7 +394,7 @@ static av_cold int rv10_decode_init(AVCodecContext *avctx)
if (avctx->debug & FF_DEBUG_PICT_INFO) {
av_log(avctx, AV_LOG_DEBUG, "ver:%X ver0:%"PRIX32"\n", rv->sub_id,
- ((uint32_t *) avctx->extradata)[0]);
+ AV_RL32A(avctx->extradata));
}
/* init static VLCs */