avcodec/rl2: clear freed pointers

Avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/snow: clear freed pointers

Avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/roqvideoenc: clear freed pointers

Avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffserver: drop pointless explicit !=0 checks

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
ffserver_config: do not store preset name

Preset are translated to AVOptions.
It is not required to reparse anymore.

Fixes CID #1254667

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
ffserver_config: fix possible crash

Fixes CID #1254662

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
cmdutils: Exit in case of faulty stream specifiers

Avoids printing confusing and unrelated errors
Fixes Ticket2772

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg: Fix last newline at log level less than "info"

Fixes Ticket3058

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
hevc: do not store pcm_flag in the context

It does not need to be accessed outside of hls_coding_unit().
hevc: do not store rqt_root_cbf in the context

It does not need to be accessed outside of hls_coding_unit().
hevc: remove a redundant line

pred_mode is overwritten a few lines immediately below.
hevc: remove an unused function parameter
hevcdsp_template: templatize transquant_bypass
hevc: reduce code duplication in hls_prediction_unit()
hevc: further reduce code duplication in hls_prediction_unit()
hevc: reduce variable scope

Also, collapse the array into a scalar, since only one value is needed
at a time.
hevc: eliminate an unneeded intermediate variable
hevc: remove superfluous assignments and checks
flvenc: move metadata updates into a single function

Signed-off-by: Anton Khirnov <anton@khirnov.net>
flvenc: Send new metadata when FLAG_METADATA_UPDATED is set.

Signed-off-by: Anton Khirnov <anton@khirnov.net>