Opened 12 years ago

Closed 12 years ago

#883 closed defect (fixed)

pam: reject 64bpp rgba

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

Description

reject pam 64bpp rgba (decodes correctly with netpbm)

patch included

C:\>ffmpeg -i 64rgba.pam
ffmpeg version N-36492-g7f83db3, Copyright (c) 2000-2012 the FFmpeg developers
  built on Jan  5 2012 01:57:12 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. 34.100 / 51. 34.100
  libavcodec     53. 53.100 / 53. 53.100
  libavformat    53. 29.100 / 53. 29.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 57.101 /  2. 57.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  5.100 /  0.  5.100
  libpostproc    51.  2.100 / 51.  2.100
Input #0, image2, from '64rgba.pam':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: pam, bgra, 320x240, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified

Attachments (3)

64rgba.pam (600.1 KB ) - added by ami_stuff 12 years ago.
pam64.diff (517 bytes ) - added by ami_stuff 12 years ago.
pam64_2.diff (634 bytes ) - added by ami_stuff 12 years ago.

Download all attachments as: .zip

Change History (6)

by ami_stuff, 12 years ago

Attachment: 64rgba.pam added

by ami_stuff, 12 years ago

Attachment: pam64.diff added

comment:1 by Carl Eugen Hoyos, 12 years ago

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

An error message would be nice and please add "{" - "}" for if - else blocks.

comment:2 by ami_stuff, 12 years ago

new patch attached

by ami_stuff, 12 years ago

Attachment: pam64_2.diff added

comment:3 by Carl Eugen Hoyos, 12 years ago

Keywords: 64bit added
Resolution: fixed
Status: openclosed

Patch applied, thank you!

Note: See TracTickets for help on using tickets.