I used buffer of size 2048 + FF_INPUT_BUFFER_PADDING_SIZE
offset - I'd guess so, I'm not using C myself ;)
One thing about seek function. if origin = AVSEEK_SIZE you can return - 1



>>
> Thanks for your answers. But what about the "buffer" and "buffer_size"
> parameters to init_put_byte? I assume write_flag indicates the capability of
> writing to my custom stream?
>
> Also what is the "offset" parameter to the seek function pointer? Does it
> take the standard C stdio values (SEEK_CUR, SEEK_SET, SEEK_END)? Or do I
> need to implement different values (or something more generic like a real
> offset from the beginning of the stream)?
>
> Thanks again
> Michael
>
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to