Changeset c3f9f8e1627ff8f0f42e12b7ba80f2503bd1d48c

Show
Ignore:
Timestamp:
11/01/06 23:24:50 (2 years ago)
Author:
Sigmund Augdal Helberg <sigmunau@videolan.org>
git-committer:
Sigmund Augdal Helberg <sigmunau@videolan.org> 1162419890 +0000
git-parent:

[6572dc7341076728ed72fe4929d733536c2b896c]

git-author:
Sigmund Augdal Helberg <sigmunau@videolan.org> 1162419890 +0000
Message:

mux/avi.c: fixed a crash when trying to make audio only avi files.
Hopefully fixed a issue with the generated avi file in the same go

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/mux/avi.c

    r26b0f76 rc3f9f8e  
    626626        { 
    627627            i_maxbytespersec += 
    628                 p_sys->stream[p_sys->i_stream_video].i_totalsize / 
    629                 p_sys->stream[p_sys->i_stream_video].i_duration; 
     628                p_sys->stream[i_stream].i_totalsize / 
     629                p_sys->stream[i_stream].i_duration; 
    630630        } 
    631631    }