mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-29 14:30:27 +00:00
avformat_alloc_context: initialize raw_packet_buffer_remaining_size.
This currently works for most users because avformat_open_input sets it, but this patch fixes any applications not using that function. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
This commit is contained in:
parent
58201c6e9e
commit
5af621278d
@ -117,6 +117,7 @@ AVFormatContext *avformat_alloc_context(void)
|
||||
return NULL;
|
||||
}
|
||||
ic->internal->offset = AV_NOPTS_VALUE;
|
||||
ic->internal->raw_packet_buffer_remaining_size = RAW_PACKET_BUFFER_SIZE;
|
||||
|
||||
return ic;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user