[FFmpeg-cvslog] r13972 - trunk/libavformat/utils.c

Michael Niedermayer michaelni
Wed Jun 25 21:22:46 CEST 2008


On Wed, Jun 25, 2008 at 12:08:19PM -0700, Baptiste Coudurier wrote:
> Michael Niedermayer wrote:
> > On Wed, Jun 25, 2008 at 11:42:11AM -0700, Baptiste Coudurier wrote:
> >> michael wrote:
> >>> Author: michael
> >>> Date: Wed Jun 25 20:36:41 2008
> >>> New Revision: 13972
> >>>
> >>> Log:
> >>> Make av_find_stream_info() find the frame_size for vorbis. 
> >>>
> >>>
> >>> Modified:
> >>>    trunk/libavformat/utils.c
> >>>
> >>> Modified: trunk/libavformat/utils.c
> >>> ==============================================================================
> >>> --- trunk/libavformat/utils.c	(original)
> >>> +++ trunk/libavformat/utils.c	Wed Jun 25 20:36:41 2008
> >>> @@ -1729,6 +1729,8 @@ static int has_codec_parameters(AVCodecC
> >>>      switch(enc->codec_type) {
> >>>      case CODEC_TYPE_AUDIO:
> >>>          val = enc->sample_rate && enc->channels;
> >>> +        if(enc->codec_id == CODEC_ID_VORBIS && !enc->frame_size)
> >>> +            return 0;
> >>>          break;
> >> Nice, can I add AAC ? This would makes streamcopy flawless.
> > 
> > of course
> > 
> 
> Patch attached.

ok

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20080625/80da9563/attachment.pgp>



More information about the ffmpeg-cvslog mailing list