avcodec/prosumer: Factorize the 2 loops in fill_elements()
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 22 Sep 2018 16:13:59 +0000 (18:13 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 23 Sep 2018 22:49:30 +0000 (00:49 +0200)
commitd3a9cb6bc870063ab0e79241f3e51c94613b6c03
tree6815b9685bc7d5ec07f4752c5b0c9e78ffe0259f
parentf24701b073ca5381ad1ca5d7c1ccec30c3104cf6
avcodec/prosumer: Factorize the 2 loops in fill_elements()

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/prosumer.c