aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/huffman.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-05-02 09:35:38 +0200
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-05-07 12:03:58 +0200
commitf5a669c229425cdac828c230addf10d6d9cbe3a7 (patch)
tree1b5316ff693492059237401d0b7013851e227dcf /libavcodec/huffman.c
parent566666caf3a09d6254edaa99d222eddb6fe2986b (diff)
downloadffmpeg-f5a669c229425cdac828c230addf10d6d9cbe3a7.tar.gz
ffmpeg: simplify mid-stream reconfiguration when libavfilter is disabled
Implement lazy initialization of the image resample context, so that the initialization code does not need to be duplicated. Also manage the case in which resample/size change mid-stream. For each packet the code computes if resampling is needed. Previously the resample check was done only at the initialization, in case size/format changed and no resample was detected at the init stage ffmpeg was silently exiting.
Diffstat (limited to 'libavcodec/huffman.c')
0 files changed, 0 insertions, 0 deletions