owaisawan / xuggle

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

NullPointerException in MediaWriter #230

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 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