#9929: ff_color_frame null pointer exception
-------------------------------------+-------------------------------------
Reporter: Andrzej | Owner: (none)
Szombierski |
Type: defect | Status: new
Priority: normal | Component: avcodec
Version: unspecified | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Andrzej Szombierski):
Replying to [comment:1 Balling]:
> >The pixel format is set to NV12
>
> Why use that if you are not HW decoding?
>
Ok, perhaps my summary was too short. I am using hardware decoding in most
scenarios and everything works fine. I've added an option to use the SW
decoder for troubleshooting and as a fallback option - and this is where
the bug has appeared. NV12 isn't the best pixel format for SW decoding,
but it shouldn't outright crash, right?
> We ony support HEAD of master here, what version are you on? Try head of
master.
I will try to make a small example reproducing the issue on master. The
sources for ff_color_frame haven't changed much, and on HEAD it still
contains a loop indexing the frame->data[] array by color component (which
is wrong).
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9929#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".