Merge commit 'bc8c1cdc7bfe7b1fe56df812aabdac3de2555cec'

* commit 'bc8c1cdc7bfe7b1fe56df812aabdac3de2555cec':
  lavfi doxy: add a page for lavfi.
  jpegls: check the scan offset

Conflicts:
	libavcodec/jpeglsdec.c
	libavfilter/avfilter.h
	libavutil/avutil.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
pull/18/head
Michael Niedermayer 12 years ago
commit 0718f0cc24
  1. 4
      libavcodec/jpeglsdec.c
  2. 5
      libavfilter/avfilter.h
  3. 1
      libavfilter/version.h
  4. 2
      libavutil/avutil.h

@ -311,6 +311,10 @@ int ff_jpegls_decode_picture(MJpegDecodeContext *s, int near,
ilv, point_transform, s->bits, s->cur_scan);
}
if (ilv == 0) { /* separate planes */
if (s->cur_scan > s->nb_components) {
ret = AVERROR_INVALIDDATA;
goto end;
}
stride = (s->nb_components > 1) ? 3 : 1;
off = av_clip(s->cur_scan - 1, 0, stride - 1);
width = s->width * stride;

@ -25,11 +25,11 @@
/**
* @file
* @ingroup lavfi
* external API header
* Main libavfilter public API header
*/
/**
* @defgroup lavfi Libavfilter
* @defgroup lavfi Libavfilter - graph-based frame editing library
* @{
*/
@ -1298,4 +1298,5 @@ int avfilter_graph_request_oldest(AVFilterGraph *graph);
/**
* @}
*/
#endif /* AVFILTER_AVFILTER_H */

@ -23,6 +23,7 @@
/**
* @file
* @ingroup lavfi
* Libavfilter version macros
*/

@ -35,7 +35,7 @@
* provided by FFmpeg.
*
* @li @ref libavc "libavcodec" encoding/decoding library
* @li @ref lavfi "libavfilter" graph based frame editing library
* @li @ref lavfi "libavfilter" graph-based frame editing library
* @li @ref libavf "libavformat" I/O and muxing/demuxing library
* @li @ref lavd "libavdevice" special devices muxing/demuxing library
* @li @ref lavu "libavutil" common utility library

Loading…
Cancel
Save