]> git.sesse.net Git - ffmpeg/commit
avcodec/nellymoserdec: Don't use invalid AVPacketSideDataType
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 21 Jun 2020 03:17:08 +0000 (05:17 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 22 Jun 2020 10:19:24 +0000 (12:19 +0200)
commit55c7bb0665c4e2d2f39025fb04428f5c5764dc8c
treea1b31f2635e9fb45c26a029e96a4e459e3a1bce8
parent82352f3c1aaa1956e9a5cf22fdfde80dd1142130
avcodec/nellymoserdec: Don't use invalid AVPacketSideDataType

Commits 957a593cd95b15a5dcb2f50306fbac59f09d8e9e and
11828b8885cc1d87ffc7b1b4bbe642ce9720b194 made the flv demuxer export
a certain flag as side data to be used by the nellymoser decoder for
mid-stream sample rate changes. It used a custom side data type 'F' that
was never officially documented.

Yet since 2215c39e94e01f57b3191a29e0e51d7e230daf49 (merged in commit
52c522c72090233edeeb0486a9bd8bee925a710a) this information is exported
via the properly documented AV_PKT_DATA_PARAM_CHANGE side data.
The merge commit therefore stopped exporting the 'F' sidedata; yet the
changes in the Nellymoser decoder (which are now dead code (and would
become dangerous if lots of new side data types were added)) have not
been removed. This commit does this.

Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/nellymoserdec.c