#9929: ff_color_frame null pointer exception
-------------------------------------+-------------------------------------
             Reporter:  Andrzej      |                     Type:  defect
  Szombierski                        |
               Status:  new          |                 Priority:  normal
            Component:  avcodec      |                  Version:
                                     |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 I'm investigating a crash in a complex application, so my apologies for
 not providing a small repro case.

 I'm decoding a H264 NAL stream with ffmpeg without any HW acceleration.
 The pixel format is set to NV12. When attempting to decode the first
 frame, I get a null pointer exception in ff_color_frame, specifically in
 memset. ff_copy_frame is attempting to access frame->data[2], which is
 null for NV12.

 It seems that the function assumes that each color component corresponds
 to one plane, which is clearly not the case for NV12.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9929>
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".

Reply via email to