I have an application similar to Dranger tutorial01. But I am reading from
MPEG Stream. I have used "av_open_stream" (after probing for format) with
Initialized ByteIOContext (with the read function).

The call makes "av_find_stream_info" the custom Read function called a
particular number of times around 200. After that when I repeatedly call
"av_read_frame" as and when the packet arrives. When i call "av_read_frame"
it crashes exactly in the  (N+1)th call (201st) call (though it does not
call my custom IO Read function). Segmentation fault in memcpy
raw_get_buffer the pointers are pointing to the buffer alloted for
ByteIOContext Initialization.

"av_read_frame" crashing after the number of calls made by
"av_find_stream_info" should have a relation. Is there a way out of this
crash or Proper buffer handling should be done is there any doc/sample on
this?
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to