[haiku-bugs] Re: [Haiku] #10176: BMediaFile crashes within AVFormatReader::Sniff() if it cannot handle the file

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Wed, 06 Nov 2013 16:07:23 -0000

#10176: BMediaFile crashes within AVFormatReader::Sniff() if it cannot handle 
the
file
------------------------------------+----------------------------
   Reporter:  ttcoder               |      Owner:  stippi
       Type:  bug                   |     Status:  assigned
   Priority:  normal                |  Milestone:  R1
  Component:  Audio & Video/Codecs  |    Version:  R1/Development
 Resolution:                        |   Keywords:  ffmpeg
 Blocked By:                        |   Blocking:
Has a Patch:  0                     |   Platform:  All
------------------------------------+----------------------------

Comment (by anevilyak):

 Replying to [comment:2 ttcoder]:
 > I would have done it with {{{touch}}} and {{{addatr BEOS:TYPE audio/mpeg
 <file>}}} except it does not work, as addattr adds a {{{CSTR}}} whereas it
 needs to be a {{{MIMS}}}... But the above works with the right preparation
 anyway.

 That's what {{{ addattr -t mime }}} is for.

--
Ticket URL: <http://dev.haiku-os.org/ticket/10176#comment:3>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: