[Libav-user] H264 live stream decoding and got_picture_ptr

Andrey Utkin andrey.krieger.utkin at gmail.com
Wed Sep 19 12:09:10 CEST 2012


2012/9/6 Tony Glover <T.Glover at nottingham.ac.uk>:
> Can anybody shed some light on this or suggest an approach when the
> situation occurs?

If (got_picture_ptr)
  process_decoded_frame();
else
  no_decoded_frame_to_process__its_ok__maybe_go_read_and_decode_next_packet();

-- 
Andrey Utkin


More information about the Libav-user mailing list