Skip to content

Instantly share code, notes, and snippets.

@lu-zero
Created July 10, 2011 04:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lu-zero/1074275 to your computer and use it in GitHub Desktop.
Save lu-zero/1074275 to your computer and use it in GitHub Desktop.
fix
- pb = avio_alloc_context(framebuf, 1000*1000, URL_RDONLY, opaque, read_packet_from_queue, NULL, NULL);
- pb->is_streamed = 1;
+ pb = avio_alloc_context(framebuf, 1000*1000, 0, opaque, read_packet_from_queue, NULL, NULL);
+ pb->seekable = 0;
+ avfc->pb = pb;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment