git.videolan.org Git - ffmpeg.git/rss log
FFmpeg git repo
Les articles publiés sur le site
-
avcodec/mpegvideo_dec : Move memcpy'ing ctx to mpeg4videodec.c
29 avril, par Andreas Rheinhardtavcodec/mpegvideo_dec: Move memcpy'ing ctx to mpeg4videodec.c When the destination MpegEncContext in ff_mpeg_update_thread_context() is not initialized, the source MpegEncContext is simply copied over it before (potentially) calling ff_mpv_common_init(). This leads to data races when this code is executed which is why it should be replaced with only copying the necessary fields (this is for future commits). Given that the RV30 and RV40 decoders always call said function with an already initialized MpegEncContext (they use context_reinit in case of frame size changes), they don't need this ugly initialization (and are therefore race-free). This means that this code can be moved to the only decoder that actually needs it: MPEG-4. This commit does so. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
avformat/dump : Stream start offsets : change precision and label
29 avril, par softworkz -
avcodec/cbs_apv : don't return an error when reading empty buffers
29 avril, par James Almeravcodec/cbs_apv: don't return an error when reading empty buffers The output will be a fragment with zero units, which is a lot more user friendly than making them think something went wrong, as it already happens with cbs_av1. Signed-off-by: James Almer <jamrial@gmail.com>
-
avcodec/apv_parser : use an AVBufferRef to avoid data copying
29 avril, par James Almer -
avcodec/cbs : add an AVBufferRef input argument to ff_cbs_read()
29 avril, par James Almeravcodec/cbs: add an AVBufferRef input argument to ff_cbs_read() To allow taking a reference from an existing buffer outside of AVPackets. Signed-off-by: James Almer <jamrial@gmail.com>