Opened 4 years ago

Closed 4 years ago

#1805 closed defect (invalid)

Undefined reference to av_set_parameters and av_write_header

Reported by: kumarvis Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords: Linking Error
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Hello admin while compiling
program (api-example.c) attached as well as Makefile
I got below errors.
I had ffmpeg-1.0
through nm I tried to find symbols libavformat but couldn't find
undefined reference to `av_set_parameters'
undefined reference to `av_write_header

Attachments (1)

files.tar.gz (54.7 KB) - added by kumarvis 4 years ago.
.c make file and dir struct snap shot

Download all attachments as: .zip

Change History (2)

Changed 4 years ago by kumarvis

.c make file and dir struct snap shot

comment:1 in reply to: ↑ description Changed 4 years ago by saste

  • Resolution set to invalid
  • Status changed from new to closed

Replying to kumarvis:

Hello admin while compiling
program (api-example.c) attached as well as Makefile
I got below errors.
I had ffmpeg-1.0
through nm I tried to find symbols libavformat but couldn't find
undefined reference to `av_set_parameters'
undefined reference to `av_write_header

Your file api-example.c is using long time deprecated and dropped functions. Check the files in doc/examples for updated usage of the new FFmpeg API shipped with the 1.0 release.

Note: See TracTickets for help on using tickets.