[FFmpeg-cvslog] aacps: invert the order of parameters of ipdopd_reset()

Vittorio Giovara git at videolan.org
Fri Dec 19 05:12:30 CET 2014


ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Wed Dec 17 15:19:40 2014 +0100| [16c7a8a142277aa3c98b4802ee57daaebe6999e5] | committer: Vittorio Giovara

aacps: invert the order of parameters of ipdopd_reset()

This is the order that the caller uses in the rest of the file. The
same operation is applied to both parameters, so this change is only
done for consistency, it doesn't change the actual behaviour.

Bug-Id: CID 732285 / CID 732286

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=16c7a8a142277aa3c98b4802ee57daaebe6999e5
---

 libavcodec/aacps.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/aacps.c b/libavcodec/aacps.c
index 8f55c7f..df069c3 100644
--- a/libavcodec/aacps.c
+++ b/libavcodec/aacps.c
@@ -139,7 +139,7 @@ static int ps_read_extension_data(GetBitContext *gb, PSContext *ps, int ps_exten
     return get_bits_count(gb) - count;
 }
 
-static void ipdopd_reset(int8_t *opd_hist, int8_t *ipd_hist)
+static void ipdopd_reset(int8_t *ipd_hist, int8_t *opd_hist)
 {
     int i;
     for (i = 0; i < PS_MAX_NR_IPDOPD; i++) {



More information about the ffmpeg-cvslog mailing list