Opened 13 years ago

Closed 13 years ago

#854 closed defect (fixed)

ljpg: reject ljpeg when component is not 8 or 16

Reported by: ami_stuff Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: mjpeg ljpeg
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

example patch attached

C:\>ffmpeg -i 12.jpg
ffmpeg version N-36193-gf514695, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec 26 2011 17:50:37 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  libavutil      51. 33.100 / 51. 33.100
  libavcodec     53. 48.100 / 53. 48.100
  libavformat    53. 28.100 / 53. 28.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 54.100 /  2. 54.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  5.100 /  0.  5.100
  libpostproc    51.  2.100 / 51.  2.100
[mjpeg @ 02645B60] mjpeg_decode_dc: bad vlc: 0:0 (020E9A68)
Input #0, image2, from '12.jpg':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: mjpeg, gray, 640x480 [SAR 96:96 DAR 4:3], 25 tbr, 25 tbn
, 25 tbc
At least one output file must be specified

Attachments (5)

12.jpg (330.1 KB ) - added by ami_stuff 13 years ago.
24.jpg (577.8 KB ) - added by ami_stuff 13 years ago.
36.jpg (989.7 KB ) - added by ami_stuff 13 years ago.
48.jpg (1.4 MB ) - added by ami_stuff 13 years ago.
ljpeg.diff (641 bytes ) - added by ami_stuff 13 years ago.

Change History (7)

by ami_stuff, 13 years ago

Attachment: 12.jpg added

by ami_stuff, 13 years ago

Attachment: 24.jpg added

by ami_stuff, 13 years ago

Attachment: 36.jpg added

by ami_stuff, 13 years ago

Attachment: 48.jpg added

by ami_stuff, 13 years ago

Attachment: ljpeg.diff added

comment:1 by Carl Eugen Hoyos, 13 years ago

Component: undeterminedavcodec
Keywords: mjpeg ljpeg added
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

comment:2 by Michael Niedermayer, 13 years ago

Resolution: fixed
Status: openclosed

will soon be fixed

Note: See TracTickets for help on using tickets.