git.videolan.org Git - ffmpeg.git/rss log
FFmpeg git repo
Les articles publiés sur le site
-
avutil/log : Set AVClass* in av_expr_eval()
5 mars, par Andreas Rheinhardtavutil/log: Set AVClass* in av_expr_eval() Otherwise it is possible for av_log() to receive a non-NULL object with a NULL AVClass pointer; the default log callback handles it gracefully, yet this is probably an API violation. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
avcodec/ffv1 : Use dual run coder for fltmap
5 mars, par Michael Niedermayeravcodec/ffv1: Use dual run coder for fltmap This improves compression by 0.1% overall and 44% for the changed table I tried several other things but so far this is the best compromise between complexity and compression This can also be extended to 32 and 64bit floats Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
avcodec : Don't log to private context
5 mars, par Andreas Rheinhardtavcodec: Don't log to private context While it is save for these codecs (they all have private contexts), it is customary to always use the AVCodecContext for logging. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
- [DH] libavcodec/ccaption_dec.c
- [DH] libavcodec/dvdsubdec.c
- [DH] libavcodec/h264_refs.c
- [DH] libavcodec/h264_slice.c
- [DH] libavcodec/j2kenc.c
- [DH] libavcodec/motion_est.c
- [DH] libavcodec/mpegvideo_enc.c
- [DH] libavcodec/msmpeg4enc.c
- [DH] libavcodec/ratecontrol.c
- [DH] libavcodec/x86/mpegvideoenc_template.c
-
avcodec/{h263,ituh263,msmpeg4,snow}dec : Use proper logcontext
4 mars, par Andreas Rheinhardtavcodec/{h263,ituh263,msmpeg4,snow}dec: Use proper logcontext The logging functions here can be reached by codecs without private class, so that the log callback will receive a non-NULL object whose AVClass pointer is NULL. Although the default log callback handles this gracefully, it is probably an API violation. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
avcodec/mpeg12dec : Use proper logcontext
4 mars, par Andreas Rheinhardtavcodec/mpeg12dec: Use proper logcontext When used with the "mpegvideo" or "mpeg1video" decoder (which do not have a private class) this would lead to the log callback receiving a non-NULL object with a NULL AVClass pointer. The default log callback handles this gracefully, yet it is probably an API violation. Reviewed-by: Ramiro Polla <ramiro.polla@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>