#12547: MediaPlayer aborts with assertion a->planar failed at
libswresample/swresample.c:284
----------------------------------------+----------------------------
Reporter: markh | Owner: stippi
Type: bug | Status: new
Priority: normal | Milestone: R1/beta1
Component: Applications/MediaPlayer | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 1 | Platform: All
----------------------------------------+----------------------------
Comment (by pulkomandy):
I would use {{{int av_sample_fmt_is_planar(enum AVSampleFormat
sample_fmt)}}} if possible.
(https://ffmpeg.org/doxygen/2.0/samplefmt_8h.html#a06ba8a64dc4382c422789a5d0b6bf592)
If we do this, since ffmpeg 0.10 always uses packed formats, we can remove
the check on version I have added on the resampling version of the code
(it will always be used only with newer ffmpeg anyway).
--
Ticket URL: <https://dev.haiku-os.org/ticket/12547#comment:7>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.