omkar176 / xuggle

Automatically exported from code.google.com/p/xuggle
0 stars 0 forks source link

NullPointerException in MediaWriter #230

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It seems to me that MediaWriter.convertToPicture() should be modified as 
follows:

old code:
  IStream stream = mStreams.get(streamIndex);

new code:
  IStream stream = mStreams.get(getOutputStreamIndex(streamIndex));

Original issue reported on code.google.com by james.ta...@gmail.com on 13 Dec 2009 at 9:36