Commit Graph

637 Commits

Author SHA1 Message Date
Morten Hustveit
ebde2a2cd8 Fix prototype and return value of opt_bitrate and opt_bsf.
Patch by Morten Hustveit: lists rashbox org

Originally committed as revision 11370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-02 10:24:36 +00:00
Morten Hustveit
464a631c34 Define rc override string as const.
Patch by Morten Hustveit: lists rashbox org

Originally committed as revision 11369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-02 10:22:36 +00:00
Michael Niedermayer
9de0be61be Do not force fps unless the user actually specified one.
fixes issue309

Originally committed as revision 11322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-26 22:28:22 +00:00
Michael Niedermayer
b4dba580f9 fix pts and keyframe flags for yuv4mpeg
fixes issue258

Originally committed as revision 11320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-26 20:38:28 +00:00
Michael Niedermayer
a5baedea01 Prevent silent overwriting of files on windows.
fixes issue308
untested

Originally committed as revision 11315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-25 10:06:22 +00:00
Diego Biurrun
b7d8f6e095 Fix "suggest parentheses around assignment used as truth value" warnings.
Originally committed as revision 11293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-21 11:36:04 +00:00
Baptiste Coudurier
a06a18c55d reset manually selected codecs at the end of opt_input_file, to avoid propagating selection to output file
Originally committed as revision 11289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-21 10:08:43 +00:00
Michael Niedermayer
626004690c Allow overriding codec_ids.
Originally committed as revision 11266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-19 10:56:17 +00:00
Andreas Öman
2886f3113e Notify the input coder about the number of requested channels.
If the decoder does not fulfill our request, try using lavf's audio_resample().
If that also fails, bail out.

Originally committed as revision 11222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-15 07:04:17 +00:00
Måns Rullgård
a309073bf4 use av_log_get/set_level()
Originally committed as revision 11209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 21:48:50 +00:00
Michael Niedermayer
84be6e7239 av_*_next() API for libavformat
Originally committed as revision 11206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 19:01:58 +00:00
Michael Niedermayer
55b9e69a31 av_*_next() API for libavcodec
Originally committed as revision 11204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 18:40:11 +00:00
Panagiotis Issaris
8540e8c3ec Show which bitstreamfilters were compiled in, similar to the protocols etc
enumerations.

Originally committed as revision 11203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 11:52:27 +00:00
Baptiste Coudurier
6b80f1a12d add const to remove warnings, ffmpeg.c:2892: warning: initialization discards qualifiers from pointer target type
Originally committed as revision 11151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 10:03:32 +00:00
Michael Niedermayer
e515221618 Remove rc_eq-specific code, it is passed by AVOption now.
Originally committed as revision 11143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 02:05:31 +00:00
Michael Niedermayer
4b59cf6c1c Fix non-numeric AVOptions.
Originally committed as revision 11142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 01:46:32 +00:00
Michael Niedermayer
90901860c2 stupid code (casting of void*) found by checktree.sh
Originally committed as revision 11117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-01 00:19:44 +00:00
Michael Niedermayer
1c715415e3 frame_size vs. frame_size*channels bug
Originally committed as revision 11107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-28 00:59:19 +00:00
Luca Abeni
c721d803cb Introduce libavdevice
Originally committed as revision 11077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-22 16:10:02 +00:00
Ramiro Polla
a5e979f42c os_support.h is also needed for usleep and lseek on MinGW.
Originally committed as revision 11075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-22 02:27:39 +00:00
Björn Axelsson
899681cd1d Use dynamically allocated ByteIOContext in AVFormatContext
patch by: Björn Axelsson, bjorn d axelsson a intinor d se
thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007

Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-21 07:41:00 +00:00
Diego Biurrun
3b8554662b Reorder functions to get rid of ugly forward declarations.
Originally committed as revision 11034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 12:31:58 +00:00
Stefano Sabatini
d4f98ab118 Move up opt_show_license to get rid of ugly forward declaration.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 11019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-14 09:58:38 +00:00
Ramiro Polla
1b1656c67f Warn user if bitrate parameter is too low
Originally committed as revision 10919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-04 02:03:36 +00:00
Michael Niedermayer
0ac0703107 check av_interleaved_write_frame() return
fixes issue149

Originally committed as revision 10891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-01 01:59:22 +00:00
Nico Sabbi
c1a4cdf9bf removed unused variables accidentally introduced in stream_index_from_inputs()
Originally committed as revision 10870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-28 22:56:41 +00:00
Nico Sabbi
a15bc651f9 reindented after previous commit
Originally committed as revision 10867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-27 18:50:08 +00:00
Nico Sabbi
50e143c4be added option programid to select the program to use and relative code to handle it
Originally committed as revision 10866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-27 18:46:25 +00:00
Benoit Fouet
9a3fb64000 Merge audio and video bitstream filter options handling.
Originally committed as revision 10739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 07:20:54 +00:00
Stefano Sabatini
86074ed1b7 Implement common show version and banner.
Patch by Stefano Sabatini [stefano sabatini-lala poste it]

Originally committed as revision 10600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-27 06:38:40 +00:00
Stefano Sabatini
f94361612a Make parse_date return INT64_MIN in case of unparsable input.
Patch by Stefano Sabatini: [stefano sabatini-lala poste it]
Original thread:
[FFmpeg-devel] [PATCH] Enhace documentation forlibavformat/utils.c:parse_date
Date: 08/17/2007 09:40 PM

Originally committed as revision 10533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-19 12:38:07 +00:00
Ramiro Polla
f71163d791 Move av_exit() to before main()
Originally committed as revision 10510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-16 18:08:51 +00:00
Ramiro Polla
47f93b61e8 Split av_exit() out of main()
Originally committed as revision 10509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-16 18:08:01 +00:00
Stefano Sabatini
032aa7df43 Cosmetic, change "fvstats" to "vstats_file".
Patch by Stefano Sabatini: [stefano sabatini-lala poste it]

Originally committed as revision 10424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-06 20:11:02 +00:00
Marc Hoffman
e146ce521f using isnan instead of d==d, to signal correctly parsed option
Originally committed as revision 10406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 15:00:00 +00:00
Stefano Sabatini
d16069952e Make ffmpeg use cmdutils.c show_license function
patch by Stefano Sabatini: [stefano sabatini minus lala ! poste it]

Originally committed as revision 10182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-22 13:04:49 +00:00
Luca Abeni
6d1ba1ac83 Print an SDP when all outputs are RTP (the SDP can be saved in a text file
and used to receive the streams)

Originally committed as revision 10150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 08:12:08 +00:00
Godwin Stewart
250c531710 update -t option documentation
Patch by Godwin Stewart

Originally committed as revision 10146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 06:50:09 +00:00
Reimar Döffinger
4f48929248 Change imprecise "Unknown codec" message to say "encoder" or "decoder"
instead of "codec"

Originally committed as revision 10142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-19 11:12:47 +00:00
Stefano Sabatini
60a9966e4d Make cmdutils.c:parse_options accept as argument a function to parse
bare command line parameters.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 10112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 23:03:36 +00:00
Stefano Sabatini
74f0780543 Make show-version exit 0.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 10071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 13:12:32 +00:00
Stefano Sabatini
5c14a7955e Make show-license exit 0.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 10070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 13:11:30 +00:00
Stefano Sabatini
c20bd3e0d8 Make ffmpeg -formats exit 0.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 10069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 13:09:35 +00:00
Stefano Sabatini
1af2ca7859 Prefix with "opt_" the functions ffmpeg.c:show_{version,license,formats}.
patch by Stefano Sabatini [stefano tod sabatini-lala £ poste it]

Originally committed as revision 10049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 07:28:18 +00:00
Michael Niedermayer
de2aeaef02 fix x11grab
Originally committed as revision 10046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 01:15:51 +00:00
Stefano Sabatini
aab1b7e56e Make ffmpeg and ffplay exit 0 after displaying help
patch by Stefano Sabatini [stefano sabatini minus lala at poste it]

Originally committed as revision 10012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 12:13:29 +00:00
Michael Niedermayer
81d6d520c0 always handle negative timestamp differences as timestamp discontinuity
Originally committed as revision 9984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 18:54:33 +00:00
Nicolas George
4a897224b7 Use the codec name from the command line options instead of the codec id.
patch by Nicolas George [nicolas dot george normalesup org]
original thread: [FFmpeg-devel] [PATCH] Codec lookup: do not use codec_id
date: 06/18/2007 06:19 PM

Originally committed as revision 9983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 14:34:51 +00:00
Benoit Fouet
9895ebe4f5 Avoid showing banner twice.
Originally committed as revision 9980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-07 14:09:18 +00:00
Ramiro Polla
a9bb28a315 Indent
Originally committed as revision 9971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-07 00:46:36 +00:00
Michael Niedermayer
a8482aab87 make dts_delta_threshold float so values <1 can be used
Originally committed as revision 9970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-07 00:26:37 +00:00
Michael Niedermayer
d4d226a8d5 audio drift threshold
(this switches between resampling style timestamp drift compensation and
hard insert silence / drop samples compensation)

Originally committed as revision 9969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-07 00:03:50 +00:00
Michael Niedermayer
365515ac7f be slightly more careful with copying the codec_tag in the streamcopy case
fixes streamcopy of Xmen-avc-500.vp6 into flv
closes issue 57

Originally committed as revision 9909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-04 16:03:39 +00:00
Michael Niedermayer
7cacf1e86a drop non keyframes before the first keyframe for stream copy
Originally committed as revision 9881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-03 23:25:03 +00:00
Michael Niedermayer
4efd6f58b6 fix block_align for mp3 stream copy
Originally committed as revision 9880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-03 23:23:42 +00:00
Michael Niedermayer
c0dd7b7c94 get rid of some double timebase convertion
Originally committed as revision 9878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-03 20:49:53 +00:00
Michael Niedermayer
fec401f718 properly implement "user specified start time offset" which was added in r3217
-ss should now work again
fixes decoding of low.ogg
closes issue47

Originally committed as revision 9876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-03 19:21:50 +00:00
Aurelien Jacobs
11bf3847b3 add proper support for subtitles muxing/stream copying
Originally committed as revision 9798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-25 19:47:44 +00:00
Aurelien Jacobs
8e0d882b49 copy language information from input stream to output
Originally committed as revision 9797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-25 19:39:27 +00:00
Aurelien Jacobs
a03d59b720 copy packet duration when doing a stream copy
Originally committed as revision 9796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-25 19:36:43 +00:00
Diego Biurrun
390d5a7cad cosmetics: indentation
Originally committed as revision 9758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 14:48:38 +00:00
Diego Biurrun
d0f596b4ef Make video hook infrastructure conditional on video hooks being enabled.
Originally committed as revision 9757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 14:48:13 +00:00
Alex Beregszaszi
d24ce947ca indentation fix
Originally committed as revision 9746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 00:44:47 +00:00
Alex Beregszaszi
6c4d4fa361 removed unused variable ti
Originally committed as revision 9745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 00:43:35 +00:00
Alex Beregszaszi
43924f018b use av_q2d as in the rest of the file
Originally committed as revision 9720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-17 13:04:22 +00:00
Ramiro Polla
7495c3066d Check for GetProcessTimes and use it in getutime
Originally committed as revision 9629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-13 16:11:36 +00:00
Ramiro Polla
7829950cf2 Collapse getutime into one declaration
Originally committed as revision 9628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-13 16:05:36 +00:00
Ramiro Polla
66be5b4536 Check for getrusage
Originally committed as revision 9627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-13 16:04:00 +00:00
Ramiro Polla
4b54c6d084 Check for termios before conio
Originally committed as revision 9598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 14:07:55 +00:00
Ramiro Polla
e16e49ac90 Proper check for interactive support (termios and conio).
Originally committed as revision 9597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 14:04:54 +00:00
Ramiro Polla
7c37e504f0 Remove OS/2 support
Originally committed as revision 9586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-10 21:52:04 +00:00
Diego Biurrun
4021300cd5 grammar error noticed by Mark Cox
Originally committed as revision 9534 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 09:20:51 +00:00
Stefano Sabatini
c0de00dac5 me option implemented as an AVOption
patch by Stefano Sabatini: [stefano sabatini-lala poste it]
original thread:
[FFmpeg-devel] [PATCH] ffmpeg.c -me option implemented as an AVOption
date: 07/05/2007 03:12 PM

Originally committed as revision 9501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 11:47:02 +00:00
Diego Biurrun
e5a389a1b7 license header consistency cosmetics
Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 10:40:25 +00:00
Ronald S. Bultje
0f4e816582 to be able to compile without HAVE_AV_CONFIG_H
patch by Ronald S. Bultje: [rsbultje gmail com]
original thread: [FFmpeg-devel] ffmpeg.c/cmdutils.c compilation
date: 06/23/2007 03:15 AM

Originally committed as revision 9453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 07:43:23 +00:00
Ronald S. Bultje
9de8e6acf9 remove ENABLE_SWSCALER conditions
patch by Ronald S. Bultje: [rsbultje gmail com]

Originally committed as revision 9435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-26 16:13:44 +00:00
Benoit Fouet
29cc1c23d1 Make globals static
Originally committed as revision 9433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-26 15:52:54 +00:00
Måns Rullgård
f7d78f3654 replace the uses of old string functions that Reimar missed
Originally committed as revision 9406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 11:27:12 +00:00
Stefano Sabatini
b33ece1634 replace calls to deprecated parsing functions to calls to new ones
patch by Stefano Sabatini: [stefano sabatini-lala poste it]

Originally committed as revision 9359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-18 08:08:43 +00:00
Diego Biurrun
755bfeabcc misc spelling fixes
Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 09:29:25 +00:00
Diego Biurrun
364a960704 Move HAVE_AV_CONFIG_H definition to the Makefile like in the rest of FFmpeg.
Originally committed as revision 9273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-10 14:34:56 +00:00
Stefano Sabatini
c3b95b1d3d Add support for listing the supported pixel formats using the option
-pix_fmt list
patch by Stefano Sabatini stefano sabatini minus lala chez poste it
original thread: [FFmpeg-devel] [PATCH] List supported pixel formats
date: 05/25/2007 05:46 PM

Originally committed as revision 9162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 14:20:55 +00:00
Aurelien Jacobs
808d83fd33 cosmetics: indentation
Originally committed as revision 9161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 10:11:05 +00:00
Aurelien Jacobs
8623e55867 use if(ENABLE_SWSCALER) instead of #ifdef CONFIG_SWSCALER
Originally committed as revision 9160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-30 10:09:54 +00:00
Ivo van Poorten
3592648940 -sws_flags command line option to set swscaler flags
Originally committed as revision 9109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-23 18:35:45 +00:00
Luca Abeni
df0cecdde0 Do not try to set a video standard unless "-tvstd" is specified
Originally committed as revision 9088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21 09:50:17 +00:00
Nicolas George
3688f93aed make help message go to standard output instead of standard error
patch by Nicolas George \ nicolas george normalesup org /

Originally committed as revision 8947 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-09 08:17:35 +00:00
Stefano Sabatini
b60d13799d add a vstats_file command line option
patch by Stefano Sabatini stefano sabatini-lala poste it

Originally committed as revision 8810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-25 13:55:11 +00:00
Benoit Fouet
4bd0c2b1d5 Revert my two previous deliveries (back to r8806) to aply the good patch for vstats
Originally committed as revision 8809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-25 13:48:36 +00:00
Benoit Fouet
f5eb2b653f to complete r8807: free vstats resources
Originally committed as revision 8808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-25 12:19:56 +00:00
Stefano Sabatini
f801d8aa86 add a vstats_file command line option
patch by Stefano Sabatini stefano sabatini-lala poste it

Originally committed as revision 8807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-25 09:32:45 +00:00
Michael Niedermayer
859d95baa1 fix overhead and bitrate statistics
Originally committed as revision 8732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-14 17:50:39 +00:00
Baptiste Coudurier
eddc482dff print error message
Originally committed as revision 8569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-31 16:04:44 +00:00
Baptiste Coudurier
f9645d7cc4 change -fs to use bytes instead of kbytes
Originally committed as revision 8556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-30 11:31:29 +00:00
Baptiste Coudurier
85ad1b0e97 change -fs option to use OPT_INT64
Originally committed as revision 8555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-30 09:44:11 +00:00
Baptiste Coudurier
d1b2356998 1000l, revert r8547, im too stupid
Originally committed as revision 8548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-29 11:39:09 +00:00
Baptiste Coudurier
ed057fccfc typo, fix -fs
Originally committed as revision 8547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-29 11:13:29 +00:00
Bobby Bingham
4992d8bf7d Change the vhook code to send real timestamps to the filters instead of the
current time of day, which is useless, and which the filters could just as
easily query for themselves.
patch by Bobby Bingham, uhmmmm gmail com

Originally committed as revision 8541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-29 05:24:35 +00:00
Baptiste Coudurier
5508d26b7c fix decoding of big audio packets (48k 16bit 2 channels), needed size is related to samples which is short * while len passed to decode_audio2 is related to pkt->data which is uint8_t *
Originally committed as revision 8537 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-28 11:53:01 +00:00
Michael Niedermayer
c367d06702 prevent exit missuse
Originally committed as revision 8536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-27 21:47:03 +00:00