[FFmpeg-trac] #650(avutil:closed): Segmentation Fault when using av_opt_set to set h264 options
FFmpeg
trac at avcodec.org
Tue Nov 15 22:47:24 CET 2011
#650: Segmentation Fault when using av_opt_set to set h264 options
-------------------------------------+-------------------------------------
Reporter: apolychrono | Owner: michael
Type: defect | Status: closed
Priority: normal | Component: avutil
Version: git-master | Resolution: fixed
Keywords: av_set_opt | Blocked By:
av_opt_find2 h265 options | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by michael):
* status: new => closed
* resolution: => fixed
Comment:
Crash fixed locally, will be in git master in a moment
About the usage
You need to call one of the functions that allocates the private context.
avcodec_get_context_defaults3() for example or use avformat_new_stream()
and pass it the AVCodec
also see doc/examples/decoding_encoding.c for some examples
also patches improving our docs are welcome!
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/650#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list